package ace.module.product.core.impl.manager;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.model.SaveListContext;
import ace.module.product.core.impl.dao.entity.PmsProduct;
import java.util.List;
import org.springframework.stereotype.Repository;
import java.util.Optional;
import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.manager.DtoManager;
import ace.module.common.core.impl.manager.ApplicationManager;
import ace.module.common.core.impl.manager.EntityOfAppManager;
import ace.module.product.core.impl.dao.entity.PmsCommonTag;
import ace.module.product.api.model.dto.PmsCommonTagDto;

/**
* 商品通用标签标记 spring data jdbc querydsl rsql manager.
*
* @author Caspar
*/
public interface PmsCommonTagManager extends EntityOfAppManager<PmsCommonTag, Long, PmsCommonTagDto> {

  SaveListContext<PmsCommonTag> assembleProductSaveListContext(PmsProduct pmsProduct, List<Long> tagIds);
}